package LexParser;

import java.util.List;
/**
 * Returns basic morphological word's properties from mystem results. 
 * Getting mystem results from file.
 */
public class MystemParserFromFile implements MystemParser{
	
	private MystemDictionary _mystemDictionary;
	
	public MystemParserFromFile(MystemDictionary mystemDictionary) {
		_mystemDictionary = mystemDictionary;
	}

	@Override
	public List<MystemWord> getMystemWords(String string) {
		return _mystemDictionary.getWords(string);
	}

}
